7.2 RIP  
  7.2.2 Configuring RIP  
The router rip command enables RIP as the routing protocol. The network command is then used to tell the router on which interfaces to run RIP. The routing process then associates specific interfaces with the network addresses and begins sending and receiving RIP updates on these interfaces.

RIP sends routing-update messages at regular intervals. When a router receives a routing update that includes changes to an entry, it updates its routing table to reflect the new route. The received metric value for the path is increased by 1, and the source interface of the update is indicated as the next hop in the routing table. RIP routers maintain only the best route to a destination but can maintain multiple equal-cost paths to the destination.

A router running RIP can be configured to send a triggered update when the network topology changes using the
ip rip triggered command. This command is issued only on serial interfaces at the router(config-if)# prompt. After updating its routing table due to a configuration change, the router immediately begins transmitting routing updates in order to inform other network routers of the change. These updates, called triggered updates, are sent independently of the regularly scheduled updates that RIP routers forward. For example, the descriptions for the commands used to configure router BHM shown in the figure are as follows:

  • BHM(config)#router rip – Selects RIP as the routing protocol
  • BHM(config-router)#network 10.0.0.0 – Specifies a directly connected network
  • BHM(config-router)#network 192.168.13.0 – Specifies a directly connected network

The Cisco router interfaces that are connected to networks 10.0.0.0 and 192.168.13.0 send and receive RIP updates. These routing updates allow the router to learn the network topology from neighboring router also running RIP.

RIP must be enabled and the networks specified. The remaining tasks are optional. Among these optional tasks are:

  • Applying offsets to routing metrics
  • Adjusting timers
  • Specifying a RIP version
  • Enabling RIP authentication
  • Configuring route summarization on an interface
  • Verifying IP route summarization
  • Disabling automatic route summarization
  • Running IGRP and RIP concurrently
  • Disabling the validation of source IP addresses
  • Enabling or disabling split horizon
  • Connecting RIP to a WAN

To enable RIP, use the following commands beginning in global configuration mode:

  • Router(config)#router rip – Enables the RIP routing process
  • Router(config-router)#network network-number – Associates a network with the RIP routing process
 

Lab Activity

Lab Exercise: Configuring RIP

This lab is to setup an IP addressing scheme using class B networks and configure the RIP dynamic routing protocol on routers.

 
 

Lab Activity

e-Lab Activity: RIP

In this lab, the students will take a look at the router topology before starting the lab.

 
 

Web Links

Configuring RIP

http://www.cisco.com/en/US/products/sw/
iosswrel/ps1831/ products_configuration_guide_
chapter09186a00800d97f7.html#xtocid2